//
//  CALayer+LM.m
//  舍品
//
//  Created by 楼 眉 on 16/3/18.
//  Copyright © 2016年 楼 眉. All rights reserved.
//

#import "CALayer+LM.h"

@implementation CALayer (LM)
+ (void)LM_RoundedImageWIthImageViewCALayer:(CALayer *)layer Width:(CGFloat)width
{
    CALayer *lmLayer = layer;
    [lmLayer setMasksToBounds:YES];
    //圆角弧度
    [lmLayer setCornerRadius:width / 2];
    //圆角宽度
    [lmLayer setBorderWidth:0.0];
    [lmLayer setBorderColor:[[UIColor blueColor] CGColor]];
}
@end
